package com.zyyx.course.domain;

import com.zyyx.calendar.domain.Calendar;
import com.zyyx.classroom.domain.Classroom;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zyyx.common.annotation.Excel;
import com.zyyx.common.core.domain.BaseEntity;

/**
 * 课程表管理对象 course
 * 
 * @author xw
 * @date 2025-01-07
 */
public class Course extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程id */
    private Long courseId;

    /** 课程名 */
    @Excel(name = "课程名")
    private String courseName;

    /** 课程描述 */
    @Excel(name = "课程描述")
    private String description;

    private Calendar calendar;
    private Classroom classroom;

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("courseName", getCourseName())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
